package LibraryManagementSystem;

public class Book {
    private String bookName;
    private String authorName;
    private double price;
    private String type;
    private String state;

    public Book() {
    }

    public Book(String bookName, String authorName, double price, String type, String state) {
        this.bookName = bookName;
        this.authorName = authorName;
        this.price = price;
        this.type = type;
        this.state = state;
    }

    public String getBookName() {
        return bookName;
    }

    public void setBookName(String bookName) {
        this.bookName = bookName;
    }

    public String getAuthorName() {
        return authorName;
    }

    public void setAuthorName(String authorName) {
        this.authorName = authorName;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    @Override
    public String toString() {
        return "Book{" +
                "bookName='" + bookName + '\'' +
                ", authorName='" + authorName + '\'' +
                ", price=" + price +
                ", type='" + type + '\'' +
                ", state='" + state + '\'' +
                '}';
    }
}
